package baratopradedeu

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication; 

class Autenticar extends Authenticator{

	String username 
    String password 
	
	protected PasswordAuthentication getPasswordAuthentication() {
        return new PasswordAuthentication (username,password)
    }

    static constraints = {
    }
}
